#pragma once

#include<vector>

#include"YccUnit.h"

namespace YCC
{
	enum OrderType{Attack , MoveTo};

	class Order
	{
	public:
		OrderType Type;
		int TargetIndex;
		//--
		Order(const OrderType& type , const int& targetIndex)
			:Type(type),
			TargetIndex(targetIndex)
		{
		}
		void operator=(const Order& another)
		{
			Type = another.Type;
			TargetIndex = another.TargetIndex;
		}
	};

	typedef std::vector<Order> Move;
}